<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="f"%>
 <ul class="n-list">
			 <c:choose>
			   <c:when test="${list.size()>0 }">
			       <c:forEach var="vo" items="${list }">
				      <li>
	                    <h2><a href="${pathUrl }/home/news/detail?id=${vo.id}">${vo.newsTitle }</a></h2>
	                    <div class="note">
	                        	<b><img onerror="this.src='${pathUrl }/public/images/nopic.png'"  src="${pathUrl}/${vo.newsImg}"></b>
	                        <p>${vo.subTitle }</p>
	                        <div class="info">
	                            <span><i class="iconfont icon-date"></i>
									<f:formatDate value="${vo.addTime }" pattern="yyyy-MM-dd HH:mm:ss"/>
								</span>
	                            <span>${vo.commentCount }人评论</span>
	                            <span>${vo.countClick }次浏览</span>
	                        </div>
	                    </div>
	                </li>
	                </c:forEach>
			   </c:when>
			   <c:otherwise>
			     暂无数据！
			   </c:otherwise>
			 </c:choose>
             
            </ul>
            
               <input type="hidden" id="pageNum" name="pageNum" value="${pageNum }"/>
    <input type="hidden" id="pages" name="pages" value="${pages }"/>
     <input type="hidden" id="total" name="total" value="${total }"/>
      <input type="hidden" id="pageSize" name="pageSize" value="${pageSize }"/>